<!--
 * @Description: 外链页面
 * @Author: ye_xf
 * @Date: 2022-08-10 09:47:55
 * @LastEditTime: 2022-08-10 10:16:44
 * @LastEditors: ye_xf
 * @Reference: 
-->

<template>
  <div class="iframe-page-box">
    <fm-nav-bar :title="query.title" left-arrow @click-left="$router.go(-1)">
    </fm-nav-bar>
    <iframe v-if="query.url" :src="query.url" frameborder="0"></iframe>
  </div>
</template>

<script>
export default {
  name: 'iframePage',
  data() {
    return {
      query: this.$route.query,
    }
  },
  created() {},
}
</script>

<style lang="less" scoped>
.iframe-page-box {
  display: flex;
  flex-direction: column;
  height: 100%;

  & > iframe {
    flex: 1;
  }
}
</style>